home *** CD-ROM | disk | FTP | other *** search
/ kermit.columbia.edu / kermit.columbia.edu.tar / kermit.columbia.edu / newsgroups / misc.19980424-19980901 / 000401_news@newsmaster….columbia.edu _Sat Aug 22 17:39:48 1998.msg < prev    next >
Internet Message Format  |  1998-08-31  |  3KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id RAA23542
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Sat, 22 Aug 1998 17:39:48 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id RAA21845
  7.     for kermit.misc@watsun; Sat, 22 Aug 1998 17:39:47 -0400 (EDT)
  8. Path: news.columbia.edu!psinntp!howland.erols.net!newshub.northeast.verio.net!newsserver.jvnc.net!post.servtech.com!hal9000.buf.servtech.com!rchandra
  9. From: rchandra@hal9000.buf.servtech.com ()
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Red Hat Linux/Intel 5.1 and ncurses: suggestions
  12. Followup-To: poster
  13. Date: 22 Aug 1998 15:54:46 GMT
  14. Organization: Verio New York
  15. Lines: 50
  16. Message-ID: <6rmpk6$be2$1@post.servtech.com>
  17. Reply-To: rchandra@letter.com
  18. NNTP-Posting-Host: hal9000.buf.servtech.com
  19. Summary: There are several things that can be tried if "linux" is not recognized
  20. Keywords: RedHat RPM 5.1
  21. Xref: news.columbia.edu comp.protocols.kermit.misc:9127
  22.  
  23. Several factors can influence whether "linux" is recognized as a
  24. terminal type on many Linux systems.
  25.  
  26. 1.) Your program, or the libraries it linked with (if statically
  27.   linked), or the libraries it dynamically links with at runtime, are
  28.   looking for an entry in /etc/termcap that isn't there.  (not likely,
  29.   but possible...I believe but am not certain that this is a very old
  30.   practice in very old [n]curses library implementations to use a
  31.   single file for all terminal descriptions.)
  32.  
  33. 2.) Your program, or the libraries...are looking for a terminfo file
  34.   that just plain isn't there.  (also not so likely, since many people
  35.   in other recent message threads said that other programs work OK).
  36.  
  37. 3.) Your program, or the libraries...are looking for a terminfo file
  38.   that is stored at a pathname that isn't expected by your program,
  39.   the libraries--and so on.  I forgot if I read this in the errata Web
  40.   page or where exactly I discovered this (Netscape install?  Acrobat
  41.   install?), but it may just be that one libc (let's say for sake of
  42.   argument, libc5, but I don't know this to be true) expects your
  43.   terminfo to be in /usr/share/terminfo, and the other (let's say
  44.   libc6/glibc) expects /usr/lib/terminfo.  I remember that the
  45.   specific instructions in this bugfix/workaround were to do the
  46.   following or equivalent:
  47.  
  48.       cd /usr/lib
  49.       ln -s ../share/terminfo ./terminfo
  50.  
  51.      - or -
  52.  
  53.       ln -s /usr/share/terminfo /usr/lib/terminfo
  54.  
  55.   So what this says is that the terminfo database/directory structure
  56.   can be accessed by either path.  When something goes to reference
  57.   /usr/lib/terminfo, the symlink redirects it to essentially
  58.   /usr/share/terminfo, which is where it really resides on your
  59.   system.  I personally prefer wherever possible to use relative
  60.   symlinks, because they still hold, more often than break, across
  61.   mount points, particularly NFS mounts, where the directory structure
  62.   may be different on the different systems.
  63.  
  64.  
  65.   Hope this helps some folks.
  66.  
  67.   Any corrections to this/suggestions?
  68. -- 
  69. Oooooo-oooo-oooo-ooooo, Oooooo-oooo-oooo-ooooo, Ooooo-weem-oh-wum-ooo-ayyy
  70. In the jungle, the silicon jungle, the process sleeps tonight.
  71. Joe Philipps <rchandra-nospam@letter.com> http://www.servtech.com/~rchandra/
  72. You know what you have to do to send email to me successfully :^)